package cn.imnaer.service.rpc.common;

import java.util.List;

public abstract class AbstractRepository<T> {

	public abstract T save(T result);

	public abstract T findOneByPk(String pkValue, Class<?> clazz);

	public abstract T findOneByPk(String pkValue);

	public abstract List<T> search(String keyword);
}
